package com.jet.cashier.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 整单优惠
 *
 * @author dcl
 * @since 2025/5/2 13:04
 */
@Data
public class CashierPreferentialVo {

    @ApiModelProperty("应收金额")
    private BigDecimal amount;

    @ApiModelProperty("折扣")
    private BigDecimal discount;

    @ApiModelProperty("折扣金额")
    private BigDecimal discountAmount;

    @ApiModelProperty("抹零类型")
    private int ignoreType;

    @ApiModelProperty("抹零金额")
    private BigDecimal ignoreAmount;

    @ApiModelProperty("本单金额")
    private BigDecimal wholeAmount;
}
